﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Example48
{
    //INHERITANCE AND CONSTRUCTOR
    class Program
    {
        static void Main(string[] args)
        {
            Rectangle rect = new Rectangle(8, 9);
            Console.WriteLine("rect a:{0}", rect.area());          
        }
    }
}
